<%@ page language="java" contentType="text/html; charset=UTF-8"	pageEncoding="UTF-8"%>
<%@ taglib prefix="form" uri="http://www.springframework.org/tags/form"%>

<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta http-equiv="pragma" content="no-cache" />
<meta http-equiv="Cache-Control" content="no-cache,must-revalidate" />
<meta http-equiv="expires" content="Wed,26 Feb 1997 08:21:57 GMT" />
<meta name="robots" content="follow, index" />
<meta name="author" content="iune co." />
<meta name="description" content="IUNE有最好的库存管理SaaS软件。以更快更高的准确度，跟进实时数据的访问和库存移动。" />
<meta name="keywords" content="库存, 存货管理, 库存管理, 仓库管理, 云ERP, 云逸ERP, 中小型企业云ERP, SaaS ERP软件/系统" />
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1">

<title>登录--云逸科技</title>


<!-- Bootstrap -->
<link href="./backcenter/node_modules/bootstrap/dist/css/bootstrap.min.css" rel="stylesheet">

</head>
<body>

	<div class="container">

		<div class="row">
			<div class="col-sm-4"></div>
			<div class="col-sm-4">
			
				<div class="page-header" style="margin-top: 50px;">
					<h3>
						登录页面 <small>分为密码登录和验证码登录</small>
					</h3>
					<p class="bg-danger" id="msg">${msg}</p>
				</div>
				<div>

				  <!-- Nav tabs -->
				  <ul class="nav nav-tabs nav-justified" role="tablist">
				    <li role="presentation" class="active"><a class="lead" href="#home" aria-controls="home" role="tab" data-toggle="tab">密码登录</a></li>
				    <li role="presentation"><a class="lead" href="bvogin">验证码登录</a></li>
				  </ul>
				
				
						<form class="form-horizontal" name="login" action="blogin" method="post" onsubmit="return check()">
							<div class="thumbnail">
						      <div class="caption">
						        <p>输入您的用户名/手机号/电子邮件和登录密码</p>
						      </div>
						    </div>
							<div class="form-group">
								<div class="col-sm-12">
								<div class="input-group">
		      						<div class="input-group-addon"><i class="glyphicon glyphicon-envelope"></i> </div>
									<input type="text" class="form-control"
										id="inputUsername" name="username" placeholder="登录名/手机号/电子邮件">
									</div>
								</div>
							</div>
							<div class="form-group">
								<div class="col-sm-12">
								<div class="input-group">
		      						<div class="input-group-addon"><i class="glyphicon glyphicon-certificate"></i> </div>
									<input type="password" required class="form-control" id="inputPassword" placeholder="登录密码">
									<input type="hidden" class="form-control" id="inputPasswordmd5" name="password" placeholder="登录密码">
								</div>
								</div>
							</div>
							<div class="form-group">
								<div class="col-sm-7" style="padding-right:0px;">
								<div class="input-group">
		      						<div class="input-group-addon"><i class="glyphicon glyphicon-barcode"></i> </div>
									<input type="text" class="form-control" name="pcode" id="inputPcode" placeholder="填写右图显示的验证码">
								</div>
								</div>
								<div class="col-sm-5">
								<div class="input-group">
									<a href="javascript:changeImg()" class="pull-right" title="点击换一张">
										<img id="imgObj" alt="验证码" src="pcode" />
									</a> 
								</div>
								</div>
							</div>
							<div class="form-group">
								<div class="col-sm-12">
									<div class="checkbox">
										<label class="">
											<input type="checkbox" id="chkRememberMe">记住我
											<input type="hidden" class="form-control" id="chkRememberMeValue" name="rememberMe">
										</label>
									</div>
								</div>
							</div>
							<div class="row">
								<div class="form-group">
									<div class="col-sm-12">
										<button id="loginButton" type="submit" class="btn btn-primary btn-block">登录</button>
									</div>
								</div>
							</div>
							<div class="row">
								<div class="col col-sm-6"><a href="bregister">免费注册</a></div>
								<div class="col col-sm-6"><a href="bvogin" class="pull-right">忘记密码？</a></div>
							</div>
						</form>

				
				</div>
				


			</div>
			<div class="col-sm-4"></div>


		</div>

	</div>
	<script src="./backcenter/md5.js"></script>

	<script src="./backcenter/node_modules/jquery/dist/jquery.min.js"></script>
	<script src="./backcenter/node_modules/bootstrap/dist/js/bootstrap.min.js"></script>
	
	<script src="./backcenter/js/authen/login.js" type="text/javascript"></script>


</body>
</html>